<?php

if (!isset($_COOKIE["user"]))
{
	header("Location: http://localhost/login.php");
}

?>

<html>
<body>
<h1> Cankids Donations Page </h1>
<hr />

<form method="post" action="" method="get">
<input type="text" value="Amount" name="fname" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;"/> <br />
<input type="submit" value="Donate" />
</form>

</body>
</html>